/*
 * @Description:
 * @User: Vijay <1937832819@qq.com>
 * @Date: 2020-10-20 22:34:11
 */
package main

import (
	"blogApi/middlewares"
	_ "blogApi/models"
	_ "blogApi/routers"

	"github.com/astaxie/beego"
)

func init() {
	// 跨域
	middlewares.CorsDomain()
	// 登录验证
	middlewares.Init()
}
func main() {
	beego.Run()
}
